using System.Collections.Generic;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// NCRD委托分析流程 主表
    /// </summary>
    [SugarTable("NCRDCommissionedAnalysisProcessHeader")]
    public class NCRDCommissionedAnalysisProcessHeader : BaseHead
    {
        /// <summary>
        /// 内部编号
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(100)", IsNullable = true)]
        public string InternalNumber { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(100)", IsNullable = true)]
        public string CostCenter { get; set; }

        /// <summary>
        /// 地址/公司
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(300)", IsNullable = true)]
        public string Address { get; set; }

        /// <summary>
        /// 委托者名
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(200)", IsNullable = true)]
        public string DelegatorUserName { get; set; }

        /// <summary>
        /// 委托者ID
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(200)", IsNullable = true)]
        public string DelegatorUserId { get; set; }

        /// <summary>
        /// //委托者手机号
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(100)", IsNullable = true)]
        public string PhoneNumber { get; set; }

        /// <summary>
        ///  //委托者邮箱
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(100)", IsNullable = true)]
        public string DelegatorEmail { get; set; }

        /// <summary>
        /// //背景和目的
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(1000)", IsNullable = true)]
        public string BackgroundPurpose { get; set; }


        /// <summary>
        /// //抄送人id
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(500)", IsNullable = true)]
        public string CcUsersId { get; set; }

        /// <summary>
        /// //抄送人名称
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(500)", IsNullable = true)]
        public string CcUsersName { get; set; }

        /// <summary>
        /// //本次分析费用
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string AnalysisCost { get; set; }

        /// <summary>
        /// //优惠后费用
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string DiscountAnalysisCost { get; set; }

        /// <summary>
        /// //分析人员用户id
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(300)", IsNullable = true)]
        public string AnalystsUserId { get; set; }

        /// <summary>
        /// //分析人员用户名称
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(300)", IsNullable = true)]
        public string AnalystsUserName { get; set; }

        // /// <summary>
        // /// //分析状态
        // /// </summary>
        // [SugarColumn(ColumnDataType = "nvarchar(100)", IsNullable = true)]
        // public string AnalysisStatus { get; set; }


        /// <summary>
        /// 行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<NCRDCommissionedAnalysisProcessDetail> LineData { get; set; }

        /// <summary>
        /// 行数据 2
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<NCRDCommissionedAnalysisProcessTestDetail> TestFeeLineData { get; set; }

        /// <summary>
        /// 行数据 3
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<NCRDCommissionedAnalysisProcessTestDetail> ConfirmTestFeeLineData { get; set; }
    }
}